<template>
	<div class="home app_content">
		首页
		<button type="button" @click="jumpTo">跳转动态路由</button>
	</div>
</template>

<script setup name="Home">
const { useHome } = $globalStore;
const getDynamicRouter = inject('$getDynamicRouter')
const router = useRouter();
const jumpTo = ()=>{
	router.push({ name: "testPage" });
}
onMounted(() => {
	getDynamicRouter()
});
</script>

<style lang="less" scoped>

</style>
